Interface.Tweet = {};
Interface.Tweet.getConversation = function(tid, rid, timeline) // Interface.Tweet.getConversation()
{
    var _Container = $('#twets_'+timeline+' #conversations_'+tid),
        _Visible   = _Container.css('display') == 'block' ? true : false,
        _Text = $('#twets_'+timeline+' #in_reply_to_'+tid),
        _TxtBak = _Text.attr('title');

    if(_Visible)
    {
        _Container.slideUp('fast');
        return;
    }

    if(!rid) return;

    _Text.text(Traduz('loading'));

    Controller().Utils.Tweet.Conversation.init(rid, timeline, function(html, erro)
    {
        if(erro)
        {
            //_Text.text(Traduz('error'));
            _Text.text(_TxtBak);
            return;
        }

        try{
            ReplyCancel(tid, timeline);
        }
        catch(e){}
        _Container.empty();
        var hide_link = "<br /><a onclick='Interface.Tweet.getConversation("+tid+", null, \""+timeline+"\")' class='hide_link'>"+Traduz('hide')+"</a>";
        _Container.html(html+hide_link);
        _Container.slideDown('fast');
        Utils.ConversationsSets();
        _Text.text(_TxtBak);
    });
}